package comc.controller;

import net.sf.json.JSONObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;


@FeignClient(value = "springcloud-devt")
public interface ControInterface {
    @RequestMapping(value = "/getUserByid", method = RequestMethod.POST,produces = "application/json; charset=utf-8")
    public String getAllUser( JSONObject id);

    @RequestMapping(value = "/getAllUser2", method = RequestMethod.POST)
    public String getAllUser2();
}
